package org.dromara.pay.domain.bo;

import org.dromara.pay.domain.PayActivityRegistration;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 活动报名业务对象 pay_activity_registration
 *
 * @author yf
 * @date 2024-07-22
 */
@Data
@AutoMapper(target = PayActivityRegistration.class, reverseConvertGenerate = false)
public class PayActivityRegistrationBo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 报名表id
     */
    @NotNull(message = "报名表id不能为空", groups = {EditGroup.class})
    private Integer registrationId;
    /**
     * 报名状态（0=待审核，1=已审核，2=待付款，3=未到场，4=已到场）
     */
    private String registrationStatus;
    /**
     * 用户wx_user（西湖论剑用户）
     */
     private Integer createBy;
    /**
     * 活动id
     */
    private Integer activityId;
    /**
     * 报名途径（0=微信公众号，1=微信小程序，2=大会官网）
     */
    private String registrationWay;
}
